package com.atguigu.tingshu.user.pattern.impl;

import com.atguigu.tingshu.common.constant.SystemConstant;
import com.atguigu.tingshu.user.pattern.UserPaidStrategy;
import com.atguigu.tingshu.vo.user.UserPaidRecordVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author: atguigu
 * @create: 2024-04-23 14:48
 */
@Slf4j
@Component("1004")  //beanid=类名（首字母小写）
public class SVIPPaidStrategy implements UserPaidStrategy {
    /**
     * 处理VIP会员购买记录
     *
     * @param userPaidRecordVo
     */
    @Override
    public void handlerPaidRecord(UserPaidRecordVo userPaidRecordVo) {
        log.info("处理SVIP会员购买记录");
    }
}
